package org.ruoyi.common.dhuman.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 数字人 配置属性
 *
 * @author Frank Wang
 * @version 4.2.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "dhuman")
public class DhumanProperties {

    private Boolean enabled;

	private String workpath;

	private Boolean	keepGenerate;

	private String ttsAppid;
	private String ttsAppsecret;
	private String ttsEndpoint;
	private String ttsWs;
	public final static int ttsMaxCharacters = 300;

	private String videoAppid;
	private String videoAappsecret;
	private String videoEndpointCreate;
	private String videoEndpointStatus;
	private String videoEWs;

	private String acousticModel;
	private String dictionary;
	private String languageModel;

	private String ocrLanguagePath;
}
